<#assign fandPagePath = '/default/admin/configuration/site/site/edit'>
<!DOCTYPE html>
<html lang="zh-CN">
<head><#include "../../../../head_.html">
</head>
<body class="easyui-layout">
	<div data-options="region:'center'" style="padding: 8px 0px 8px 0px;">
		<form action="${(fand.webContextUrl)!}/admin/configuration/site/site/save.txt"
			method="post" class="uk-form uk-container-center uk-width-9-10">
			<input type="hidden" name="site.id" value="${(site.id)!}">
			<fieldset>
				<legend>基本数据</legend>
				<div class="uk-grid">
					<label class="uk-width-1-6 uk-text-right" for="site.code">编号：</label>
					<div class="uk-width-2-6">
						<input type="text" name="site.code" id="site.code"
							class="uk-width-4-5 easyui-validatebox" placeholder="请输入编号…"
							data-options="required:true"
							validType="remote['${(fand.webContextUrl)!}/admin/configuration/site/site/validationBy1.json?site.id=${(site.id)!}', 'site.code']"
							maxlength="128" value="${site.code!}">
					</div>
					<label class="uk-width-1-6 uk-text-right" for="site.name">名称：</label>
					<div class="uk-width-2-6">
						<input type="text" name="site.name" id="site.name"
							placeholder="请输入名称…" class="uk-width-4-5 easyui-validatebox"
							data-options="required:true" maxlength="128"
							value="${site.name!}">
					</div>
				</div>
				<div class="uk-grid">
					<label class="uk-width-1-6 uk-text-right" for="site.defaultCo">
						是否默认：</label>
					<div class="uk-width-2-6">
						<input type="checkbox" name="site.defaultCo" id="site.defaultCo"
							value="true"<#if (site.defaultCo!) == 'true'>
						checked="checked"</#if>>
					</div>
				</div>
			</fieldset>
			<fieldset>
				<legend>
					配置域名<input type="checkbox" name="site.configurationDomainNa"
						value="true">
				</legend>
			</fieldset>
			<fieldset>
				<legend>
					配置多语言<input type="checkbox" name="site.configurationLanguage"
						value="true">
				</legend>
			</fieldset>
			<fieldset>
				<legend>
					配置权限<input type="checkbox" name="site.configurationRole"
						value="true">
				</legend>
			</fieldset>
		</form>
	</div>
	<div data-options="region:'south',border:false"
		style="text-align: right;; padding: 5px 5px 0px 0px; height: 40px;">
		<a class="uk-button" href="#back"><i class="uk-icon-level-up"></i>
			返回</a> <a class="uk-button uk-button-success" href="#reset"><i
			class="uk-icon-reply"></i> 重置</a> <a class="uk-button uk-button-primary"
			href="#ok"><i class="uk-icon-ok-circle"></i> 确定</a>
	</div>
</body>
</html>